Skip to main content

Instagram Integration

Introduction

  • Introduction to Instagram : Instagram is a popular social media platform owned by Meta Platforms (formerly Facebook). It primarily focuses on visual content sharing, allowing users to post photos and videos, apply various filters and editing effects, and engage with content through likes, comments, and direct messages. Instagram's user-friendly interface, focus on visual content, and diverse range of features have made it a popular platform for individuals, influencers, businesses, and creators to share content, connect with audiences, and build communities based on shared interests.

To connect Instagram to your chatbot backend, you'll need to start by creating a Facebook App on the developers.facebook.com . Once your app is set up, add messenger & webhook as products within your app's settings. This step is essential for enabling Instagram integration.

To ensure that your chatbot can receive and respond to messages from Instagram, you'll need to set up webhooks for message events. This webhook configuration will enable your backend to listen for and handle incoming Instagram messages.

Once these foundational steps are complete, your backend can start receiving and processing Instagram messages using the Instagram Basic API. Ensure that your code can retrieve messages and any other necessary information from Instagram.

Finally, the process doesn't end with integration; ongoing maintenance and updates are crucial. Keep your chatbot backend up-to-date to accommodate any changes in Instagram's API or policies and provide support to your clients as needed.

Requirements for Administrator’s account

  • Instagram Business Account
  • Facebook page
  • Both should be connected together
Note

Certainly, in order to integrate our chatbot, it's necessary to have a business account. You can switch to a business account by accessing the settings in the Instagram app or on the website.

Requirements for Tester’s account

  • Instagram Personal Account
  • Facebook Id
  • Both should be connected together

What We Need In Env For Integration

  • IGPageAccessToken
  • IGAppSecret
  • IGVerificationToken
  • IGPageId
  • IG_BOT_STATUS
Note

We need to enable a toggle button for receiving messages when connecting Instagram to Facebook. This button should appear near the location where the "Connect Instagram to Facebook" button is located.

Types Of Messages Can Be Handled And Sent To Instagram

  1. Text
  2. Text_with_buttons
  3. Image_with_buttons
  4. Video
  5. Carousel

Size Limit Of Different Message Types Over Instagram

Text Messages1,000 characters
Audio Files25 MB
Documents100 MB
Images8 MB
Videos25 MB

What other features can we add?

What is Ice Breakers?

  • The "Ice Breakers" feature in Instagram Direct Messaging is a set of predefined messages and questions that can be used to start conversations with new people or accounts on Instagram.
  • Ice Breakers provide a way for users to start a conversation with a business with a list of frequently asked questions. A maximum of 4 questions can be set via the Ice Breaker API.

https://docs.google.com/presentation/d/1bu486zT8VFlH3vND2l1eQCcOaNnauSHH/